package com.atguigu.srb.core.pojo.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel("借款审批数据模型")
@Data
public class BorrowInfoApprovalVO {
    @ApiModelProperty(value = "借款信息id")
    private Long id;
    @ApiModelProperty(value = "状态 2审批通过 -1审批不通过")
    private Integer status;
    @ApiModelProperty(value = "标的名称")
    private String title;
    @ApiModelProperty(value = "起息日")
    //@DateTimeFormat(pattern = "yyyy-MM-dd",iso = DateTimeFormat.ISO.DATE)
//    private Date lendStartDate;
    private String lendStartDate;
    @ApiModelProperty(value = "年化利率")
    private BigDecimal lendYearRate;
    @ApiModelProperty(value = "平台服务费率")
    private BigDecimal serviceRate;
    @ApiModelProperty(value = "标的描述")
    private String lendInfo;
    @ApiModelProperty(value = "审批备注")
    private String content;
}
